package jbase.project.system.exception;

public class SysException extends Exception {

	private static final long serialVersionUID = 1L;
	private String message;
	private Throwable cause;
	private Object object;
	private int status = 0x0;

	public SysException() {
		super();
		this.status = 0x00;
	}

	public SysException(String message) {
		super(message);
		this.message = message;
		this.status = 0x0;
	}

	public SysException(Throwable cause, String message) {
		super(cause);
		this.cause = cause;
		this.message = message;
		this.status = 0x0;
	}

	public SysException(Throwable cause) {
		this.cause = cause;
		this.status = 0x0;
	}

	public SysException(Object object, String message) {
		super(message);
		this.object = object;
		this.message = message;
		this.status = 0x0;
	}

	public SysException(Throwable cause, Object object, String message) {
		super(cause);
		this.object = object;
		this.message = message;
		this.cause = cause;
		this.status = 0x00;
	}

	public SysException(Throwable cause, Object object) {
		super(cause);
		this.cause = cause;
		this.object = object;
		this.status = 0x00;
	}

	public SysException(Object object) {
		super();
		this.object = object;
		this.status = 0x0;
	}

	public SysException(int status) {
		super();
		this.status = status;
	}

	public SysException(int status, String message) {
		super();
		this.status = status;
		this.message = message;
	}

	public SysException(int status, Throwable cause, String message) {
		super(cause);
		this.cause = cause;
		this.message = message;
		this.status = status;
	}

	public SysException(int status, Throwable cause) {
		this.cause = cause;
		this.status = status;
	}

	public SysException(int status, Object object, String message) {
		super(message);
		this.object = object;
		this.message = message;
		this.status = status;
	}

	public SysException(int status, Throwable cause, Object object, String message) {
		super(cause);
		this.object = object;
		this.message = message;
		this.cause = cause;
		this.status = status;
	}

	public SysException(int status, Throwable cause, Object object) {
		super(cause);
		this.cause = cause;
		this.object = object;
		this.status = status;
	}

	public SysException(int status, Object object) {
		super();
		this.object = object;
		this.status = status;
	}

	public Throwable getCause() {
		return cause;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public void setCause(Throwable cause) {
		this.cause = cause;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getStatus() {
		return status;
	}

	public Object getObject() {
		return this.object;
	}

	public String getMessage() {
		return this.message;
	}

	public Throwable getException() {
		return this.cause;
	}
}
